package cn.micro.micronumberservice.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/number")
@Slf4j
public class NumberController {

    @PostMapping("/getNum")
    public String getNum() {
        log.info("getNum");
        return "1";
    }
}
